﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DienThoai.MODELS;

namespace DienThoai.CONTROLLERS
{
    class ManagerController
    {
        private static ManagerController instance;

        public static ManagerController Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new ManagerController();
                }
                return instance;
            }
        }

        private ManagerController() { }

        public void InvokeDeletePhone(Phone phone)
        {
            ManagerModel.Instance.DeletePhone(phone);
        }
        public void InvokeDeleteAccessory(Accessory accessory)
        {
            ManagerModel.Instance.DeleteAccessory(accessory);
        }
    }
}
